<h1>Module List</h1>


<div class="jfx-list-modules">
    <table>
    <tbody>
    <tr>
        <th>{lang m="core" l="module_name"}</th>
        <th>{lang m="core" l="install_uninstall"}</th>
        <th>{lang m="core" l="administration"}</th>
        <th>{lang m="core" l="io"}</th>
    </tr>


    {section loop=$modules name=i}
        <tr
        
        {if $smarty.section.i.iteration is div by 2}
        class="even"
        {else}
        class="odd"
        {/if}
        >
            <td class="jfx-title">{$modules[i].title}</td>
            <td class="jfx-installed redirect">
                {if $modules[i].installed}
                    {if  $modules[i].canInstall}
                    <a href="{$adminUrl}/modules/list/?uninstall={$modules[i].keyname}">Uninstall</a>
                    {else}
                    Installed
                    {/if}
              
                {else}
                    {if  $modules[i].canInstall}
                    <a href="{$adminUrl}/modules/list/?install={$modules[i].keyname}">Install</a>
                    {else}
                    Not installed
                    {/if}
                {/if}
            </td>
            <td>
                    {if $modules[i].installed && $modules[i].hasAdmin}
                        <a href="{$adminUrl}/modules/admin/{$modules[i].keyname}/">Administration</a>
                    {/if}
                    &nbsp;
            </td>
            <td class="redirect">
                <a href="{$adminUrl}/modules/list/?download={$modules[i].keyname}">Export</a>
            </td>
        </tr>
    {/section}
    </tbody>
    </table>
</div>






<div class="jfx-list-modules">
    <table>
    <tbody>
    <tr>
        <th>{lang m="core" l="theme_name"}</th>
        <th>{lang m="core" l="install_uninstall"}</th>
        <th>{lang m="core" l="administration"}</th>
        <th>{lang m="core" l="io"}</th>
    </tr>


    {section loop=$themes name=i}
        <tr

        {if $smarty.section.i.iteration is div by 2}
        class="even"
        {else}
        class="odd"
        {/if}
        >
            <td class="jfx-title">{$themes[i].title}</td>
            <td class="jfx-installed redirect">
                {if $modules[i].installed}
                    {if  $themes[i].canInstall}
                    <a href="javascript: void(null)" onclick="uninstallModule('{$modules[i].keyname}')"></a>
                    {else}
                    Installed
                    {/if}

                {else}
                    {if  $themes[i].canInstall}
                    <a href="javascript: void(null)" onclick="installModule('{$modules[i].keyname}')">Install</a>
                    {else}
                    Not installed
                    {/if}
                {/if}
            </td>
            <td>
                    {if $themes[i].installed && $themes[i].hasAdmin}
                        <a href="{$adminUrl}/modules/admin/{$themes[i].keyname}/">Administration</a>
                    {/if}
                    &nbsp;
            </td>
            <td class="redirect">
                <a href="{$adminUrl}/modules/list/?download={$themes[i].keyname}">Export</a>
            </td>
        </tr>
    {/section}
    </tbody>
    </table>
</div>









{$moduleUploadForm}







